//
//  OperatorService.h
//  Nurse
//
//  Created by 夏 申频 on 14-1-5.
//  Copyright (c) 2014年 Honeywell. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DataEngine.h"

extern NSString* const NOTIFYReceiveDepartmentInfo;


@interface OperatorService : NSObject

@property (strong,nonatomic) NSString* currentOperatorWardCode;
@property (strong,nonatomic) NSMutableArray* currentOperatorWards;
@property (strong,nonatomic) NSDictionary* currentOperator;

+(OperatorService*) sharedInstance;

-(void)checkLoginForUsername:(NSString* )username andPassword:(NSString*)password
           withSuccessHandler:(SuccessHandler)successHandler andFailHandler:(FailHandler)failHandler;

-(void)queryDepartmentNameForCode:(NSString*)code withSuccessHandler:(SuccessHandler)successHandler andFailHandler:(FailHandler)failHandler;
@end
